package com.cmwa.scbp.sys.permission.authority.service;

import java.util.List;

import com.cmwa.scbp.sys.permission.authority.entity.AuthorityVo;

public interface AuthorityService {
	
	/**
	 * 根据传参查询对应的数据角色并赋权(单个)
	 *  
	 * @param authorityVo
	 * @throws Exception 
	 */
	public void addAuthority(AuthorityVo authorityVo) throws Exception;
	
	/**
	 * 根据传参查询对应的数据角色并赋权(批量)
	 *  
	 * @param authorityVo
	 * @throws Exception 
	 */
	public void addAuthority(List<AuthorityVo> authorityVoList) throws Exception;
	
	/**
	 * 根据传参查询对应的数据角色并清除权限(单个)
	 *  
	 * @param authorityVo
	 * @throws Exception 
	 */
	public void cleanUpAuthority(AuthorityVo authorityVo) throws Exception;
	
	/**
	 * 根据传参查询对应的数据角色并清除权限(批量)
	 *  
	 * @param authorityVo
	 * @throws Exception 
	 */
	public void cleanUpAuthority(List<AuthorityVo> authorityVoList) throws Exception;

}
